package com.ts.api.module.product.service;

import com.ts.api.module.product.entity.po.ProductPlanFilterChannelPO;

import java.util.List;


/**
 *  机构计划屏蔽渠道
 *
 *  @author pan
 */
public interface ProductPlanFilterChannelService {

    /**
     *  根据机构计划id获取屏蔽项
     *
     *  @param   loanProductPlanId   机构计划主键id
     *  @return  List
     */
    List<ProductPlanFilterChannelPO> list(Long loanProductPlanId);

    /**
     *  根据主体及计划id及当前渠道id获取屏蔽项
     *
     *  @param   loanProductId          主体主键id
     *  @param   loanProductPlanId      主体计划主键id
     *  @param   loanChannelId          当前渠道主键id
     *  @return  ProductPlanFilterChannelPO
     */
    ProductPlanFilterChannelPO get(Long loanProductId, Long loanProductPlanId, Long loanChannelId);
}
